<template>
  <div class="title">
    <div class="name">{{ name }}</div>
  </div>
</template>

<script>
export default {
  name: "subTitle",
  props: {
    name: String
  },
  data() {
    return {
      titlename: ""
    };
  },
  created() {
    this.titlename = name;
  }
};
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">
.name {
  padding-left: 15px;
  padding-top: 15px;
  background-size: 100% 100%;
  font-size: 18px;
  font-family: PingFang SC;
  font-weight: 500;
  color: #064dB4;
  font-weight:600;
}

.title :hover {
  cursor: pointer;
}
</style>
